import request from '@/utils/request'

//查询商品分类菜单
export const getSelectList = parentId => {
  return request({
    url: `/api/category/selectList/${parentId}`,
    method: 'get',
  })
}

//导出功能
export const getExportData = () => {
  return request({
    url: '/api/category/exportData',
    method: 'get',
    responseType: 'blob',
  })
}

// //导入功能
// export const postExcelUpload = () => {
//   return request({
//     url: '/api/category/excelUpload',
//     method: 'post',
//   })
// }
